[INFO] fetching crate doc_file 0.2.0...
[INFO] checking doc_file-0.2.0 against master#fdca237d5194bf8a1c9b437ebd2114d1c2ba6195 for pr-97739
[INFO] extracting crate doc_file 0.2.0 into /workspace/builds/worker-6/source
[INFO] validating manifest of crates.io crate doc_file 0.2.0 on toolchain fdca237d5194bf8a1c9b437ebd2114d1c2ba6195
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate doc_file 0.2.0
[INFO] finished tweaking crates.io crate doc_file 0.2.0
[INFO] tweaked toml for crates.io crate doc_file 0.2.0 written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a8b9c687d951699b231d5362d2067ebbb7652fab68ef13b3f84242947eeacc8b
[INFO] running `Command { std: "docker" "start" "-a" "a8b9c687d951699b231d5362d2067ebbb7652fab68ef13b3f84242947eeacc8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a8b9c687d951699b231d5362d2067ebbb7652fab68ef13b3f84242947eeacc8b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a8b9c687d951699b231d5362d2067ebbb7652fab68ef13b3f84242947eeacc8b", kill_on_drop: false }`
[INFO] [stdout] a8b9c687d951699b231d5362d2067ebbb7652fab68ef13b3f84242947eeacc8b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+fdca237d5194bf8a1c9b437ebd2114d1c2ba6195" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cfd7c116666498cc99e860192e3be9d209c4374d83df02a825ddfd89624792dc
[INFO] running `Command { std: "docker" "start" "-a" "cfd7c116666498cc99e860192e3be9d209c4374d83df02a825ddfd89624792dc", kill_on_drop: false }`
[INFO] [stderr]     Checking doc_file v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected identifier, found keyword `mod`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `mod` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{r#mod, IoResult};
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: a __rustc_plugin_registrar symbol must now be defined instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `syntax`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found keyword `mod`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^ expected identifier, found keyword
[INFO] [stdout]    |
[INFO] [stdout] help: escape `mod` to use it as an identifier
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{r#mod, IoResult};
[INFO] [stdout]    |               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0557]: feature has been removed
[INFO] [stdout]  --> src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |                   ^^^^^^^^^^^^^^^^ feature has been removed
[INFO] [stdout]   |
[INFO] [stdout]   = note: a __rustc_plugin_registrar symbol must now be defined instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `log`
[INFO] [stdout]  --> src/lib.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::FromError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::r#mod`, `std::io::IoResult`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^  ^^^^^^^^
[INFO] [stdout]    |               |    |
[INFO] [stdout]    |               |    no `IoResult` in `io`
[INFO] [stdout]    |               |    help: a similar name exists in the module: `Result`
[INFO] [stdout]    |               no `r#mod` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::io::File;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0462]: found staticlib `rustc` instead of rlib or dylib
[INFO] [stdout]  --> src/lib.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern crate rustc;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: please recompile that crate using --crate-type lib
[INFO] [stdout]   = note: the following crate versions were found:
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.tsan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.asan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.msan.a
[INFO] [stdout]           crate `rustc`: /opt/rustwide/rustup-home/toolchains/fdca237d5194bf8a1c9b437ebd2114d1c2ba6195/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc-nightly_rt.lsan.a
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `syntax`
[INFO] [stdout]  --> src/lib.rs:4:1
[INFO] [stdout]   |
[INFO] [stdout] 4 | extern crate syntax;
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0463]: can't find crate for `log`
[INFO] [stdout]  --> src/lib.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |                        ^^^^^^^^^^^^^^^^^ can't find crate
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::error::FromError`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::error::FromError;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^ no `FromError` in `error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::io::r#mod`, `std::io::IoResult`
[INFO] [stdout]   --> src/lib.rs:16:15
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::{mod, IoResult};
[INFO] [stdout]    |               ^^^  ^^^^^^^^
[INFO] [stdout]    |               |    |
[INFO] [stdout]    |               |    no `IoResult` in `io`
[INFO] [stdout]    |               |    help: a similar name exists in the module: `Result`
[INFO] [stdout]    |               no `r#mod` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::io::File`
[INFO] [stdout]   --> src/lib.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     use std::io::File;
[INFO] [stdout]    |         ^^^^^^^^^^^^^ no `File` in `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/lib.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope
[INFO] [stdout]   --> src/lib.rs:99:3
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[plugin_registrar]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `plugin_registrar` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     IoError(io::IoError),
[INFO] [stdout]    |             ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FromError<io::IoError> for AttrError {
[INFO] [stdout]    |                ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_error(e: io::IoError) -> AttrError {
[INFO] [stdout]    |                      ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn extract_doc_path(meta: &MetaItem) -> Result<Path, AttrError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Path::new_opt(path).ok_or(AttrError::Path)
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult<String> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let source_path = Path::new(cx.codemap().span_to_filename(sp));
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead
[INFO] [stdout]    --> src/lib.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = box expand_attr as Box<ItemModifier>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[INFO] [stdout]     = help: add `#![feature(box_syntax)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut file = try!(File::open(&path));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let path = try!(extract_doc_path(meta));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let doc_string = try!(slurp_doc_file(cx, path, sp));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `phase`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `phase` in this scope
[INFO] [stdout]  --> src/lib.rs:6:3
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[phase(plugin, link)] extern crate log;
[INFO] [stdout]   |   ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `plugin_registrar` in this scope
[INFO] [stdout]   --> src/lib.rs:99:3
[INFO] [stdout]    |
[INFO] [stdout] 99 | #[plugin_registrar]
[INFO] [stdout]    |   ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `plugin_registrar` is in scope, but it is a function, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |     IoError(io::IoError),
[INFO] [stdout]    |             ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:24:16
[INFO] [stdout]    |
[INFO] [stdout] 24 | impl FromError<io::IoError> for AttrError {
[INFO] [stdout]    |                ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]   --> src/lib.rs:25:22
[INFO] [stdout]    |
[INFO] [stdout] 25 |     fn from_error(e: io::IoError) -> AttrError {
[INFO] [stdout]    |                      ^^ use of undeclared crate or module `io`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:30:48
[INFO] [stdout]    |
[INFO] [stdout] 30 | fn extract_doc_path(meta: &MetaItem) -> Result<Path, AttrError> {
[INFO] [stdout]    |                                                ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 38 |                     Path::new_opt(path).ok_or(AttrError::Path)
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Path` in this scope
[INFO] [stdout]   --> src/lib.rs:47:43
[INFO] [stdout]    |
[INFO] [stdout] 47 | fn slurp_doc_file(cx: &mut ExtCtxt, path: Path, sp: Span) -> IoResult<String> {
[INFO] [stdout]    |                                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path`
[INFO] [stdout]   --> src/lib.rs:50:23
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let source_path = Path::new(cx.codemap().span_to_filename(sp));
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 8  | use std::path::Path;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead
[INFO] [stdout]    --> src/lib.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let modifier = box expand_attr as Box<ItemModifier>;
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: see issue #49733 <https://github.com/rust-lang/rust/issues/49733> for more information
[INFO] [stdout]     = help: add `#![feature(box_syntax)]` to the crate attributes to enable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:52:20
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut file = try!(File::open(&path));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let path = try!(extract_doc_path(meta));
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/lib.rs:69:22
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let doc_string = try!(slurp_doc_file(cx, path, sp));
[INFO] [stdout]    |                      ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `phase`
[INFO] [stdout]  --> src/lib.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(phase, plugin_registrar)]
[INFO] [stdout]   |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 19 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0557, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0463, E0557, E0635, E0658.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `doc_file` due to 20 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `doc_file` due to 20 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cfd7c116666498cc99e860192e3be9d209c4374d83df02a825ddfd89624792dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfd7c116666498cc99e860192e3be9d209c4374d83df02a825ddfd89624792dc", kill_on_drop: false }`
[INFO] [stdout] cfd7c116666498cc99e860192e3be9d209c4374d83df02a825ddfd89624792dc
